package handler

import (
	"n-server/pkg/common/response"

	"github.com/gin-gonic/gin"
)

// HealthHandler 健康检查处理器
type HealthHandler struct{}

// NewHealthHandler 创建 HealthHandler 实例
func NewHealthHandler() *HealthHandler {
	return &HealthHandler{}
}

// @Summary 健康检查
// @Tags 健康模块
// @Router /health [get]
func (h *HealthHandler) HealthCheck(c *gin.Context) {
	response.Success(c, "ok")
}